package Year22_Month05.day30;

public class FilterSalary implements MyPredict<Employee>{
    @Override
    public boolean test(Employee employee) {
        return employee.getSalary() >= 5000;
    }
}
